package com.java.demo.Repository;

import com.java.demo.Model.User;
import org.springframework.stereotype.Repository;

@Repository
public class UserRepository {
    public User getUser(){
        // 伪代码
        User user = new User();
        user.setId(12);
        user.setName("马冬梅");
        return user;
    }
}
